programming4us
           
 
 
Sharepoint

SharePoint 2010 : Writing Workflows with SharePoint Designer

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
7/10/2013 4:18:36 AM

Just like you have the ability to edit out of the box workflows, using SharePoint Designer you can also craft up brand new workflows. In order to do so, open your site collection and SharePoint Designer and click the workflows section. From the ribbon, you will see three possibilities as shown in Figure 1.

Figure 1. The kinds of workflows you can create

A list workflow is associated with an individual list. This is very similar to how it used to be authoring workflows in SharePoint Designer 2007 with the concept of association when an initiation was merged. Compared to SharePoint Designer 2007, SharePoint Designer 2010 offers significant improvements such as a completely redesigned workflow editor, the ability to export workflows as .wsp's, and so forth.

The second button, "Reusable Workflow", is very similar to the customization of the out of the box workflow . Creating a reusable workflow simply means that you're targeting the workflow to a particular content type. Once you have crafted up such a workflow definition, you can then associate this workflow with the source content type or any content types that inherit from the source content type.

The last button is rather interesting. It allows you to target the workflow to the site. This is something you were not able to do in SharePoint 2007. Frequently, you will be presented with enterprise processes that don't really tie to a list item. In fact, they don't even tie to a document set. In those instances, it is helpful to run the workflow on a container that is not exactly an individual list item. SharePoint 2010 allows you to run workflows on a site collection. These are referred to as site workflows. Let's create a site workflow.

The workflow I am about to set up adds the facility of users being enabled to add simple reminders for themselves in the site. Similar to a calendar, by starting a workflow, the user would be able to enter a title, a description, and a date and time at which an e-mail would be sent to the user with the title and description with a reminder.

Start SharePoint Designer, and under workflows, click site workflow in the ribbon. Call your new Workflow "Remind Me". Add the following initiation form parameters to this workflow:

  • Remind title: Single line of text, visible on the initiation form only.

  • Remind description: Multiple Lines of text, visible on the initiation form only.

  • Remind time: Date and Time. The form should ask for both date and time, visible on the initiation form only.

Next, craft up the workflow, as shown in Figure 2.

Figure 2. Your workflow structure in SharePoint Designer 2010

Now go back to the main workflow page within SharePoint Designer and check the check box for "Show workflow visualization on status page". Save and publish the workflow. If you get any errors during publishing, make sure that you followed all the previous steps, including populating the subject and body of the email.

Next, visit your site collection in the web browser and visit all site content and click the "Site Workflows" link. Here you should see the option to start the "Remind Me" workflow. Start this workflow but note that by starting up this workflow SharePoint prompts you with the initiation form, as shown in Figure 3.

Figure 3. The initiation form for your workflow

Fill out the form as shown and click the start button. Note that the workflow visualization clearly tells you exactly where the workflow is at the given point. This can be seen in Figure 4.

Figure 4. Visio Visualization of your workflow

Once the workflow has finished, and assuming that you have your SMTP server configured, you should receive an e-mail with the necessary reminder.

Other -----------------
- SharePoint 2010 : Customizing Out of the Box Workflows
- SharePoint 2010 : Out of the Box Workflows
- SharePoint 2010 : Office 2010 Client Applications (part 4)
- SharePoint 2010 : Office 2010 Client Applications (part 3) - Backstage
- SharePoint 2010 : Office 2010 Client Applications (part 2) - Documents and Data Caching
- SharePoint 2010 : Office 2010 Client Applications (part 1)
- Sharepoint 2010 : Content Management - In place Records Management
- Sharepoint 2010 : Content Management - Importing a Term Set
- Sharepoint 2010 : Content Management - Creating a Term Set
- Sharepoint 2010 : Content Management - Managing External Content Types
- Sharepoint 2010 : Content Management - Adding a Content Type hub
- SharePoint 2010 : Content Management - Configuring content deployment
- SharePoint 2010 : Content Management - Routing documents to another site
- SharePoint 2010 : Content Management - Configuring advanced routing
- Sharepoint 2010 : Backup and Restore (part 5) - Restoring from a backup in Central Administration
- Sharepoint 2010 : Backup and Restore (part 4) - Backing up a farm in Central Administration
- Sharepoint 2010 : Backup and Restore (part 3) - Importing sites, Recovering data from an unattached content database
- Sharepoint 2010 : Backup and Restore (part 2) - Performing a site collection backup, Exporting sites
- Sharepoint 2010 : Backup and Restore (part 1) - Recycle Bin settings in Central Administration
- Planning Your Move from SharePoint 2007 to 2010 : Upgrade and Migration Options
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us